{include "Public/header"}
		<div class="page_tit">{$title}</div>
		<!-- START TOOLBAR -->
		<div class="Toolbar_inbox">
			<div class="page right"></div>
		</div>
		<!-- END TOOLBAR -->
		<!-- START LIST -->
		<div class="list" id="list">
			<table width="100%" border="0" cellspacing="0" cellpadding="0">
				<tbody>
					<tr>
						<th style="width: 30px;"><input type="checkbox" id="checkAll">
						</th>
						<th class="line_l">姓名</th>
						<th class="line_l">电话</th>
						<th class="line_l">预约时间</th>
						<th class="line_l">发型师</th>
						<th class="line_l">项目</th>
						<th class="line_l">发布时间</th>
						<th class="line_l">状态</th>
					</tr>
					{foreach $list as $v}
					<tr>

						<td><input type="checkbox" value="{$v['id']}" name="id[]"></td>
						<td>{$v['name']}</td>
						<td>{$v['phone']}</td>
						<td>{$v['do_date']}</td>
						<td>{$hair_stylist_list[$v['hair_stylist_id']]}</td>
						<td>{$project_list[$v['project_id']]}</td>
						<td>{:date('Y-m-d H:i:s',$v['create_time'])}</td>
						<td>
						{if $v['status']==0}
						未处理&nbsp;&nbsp;&nbsp;
						<a href="{:U('status?id='.$v['id'])}" class="status" >标记为已处理</a>
						{else}
						已处理
						{/if}
						</td>
					</tr>
					{/foreach}
				</tbody>
			</table>
			<div class="Toolbar_inbox">
			<div class="page right">
			{$page}
			</div>
		</div>
		</div>
		<!-- END LIST -->

	</div>
<script>
$(function(){
	$(".status").click(function(){
		var url=$(this).attr("href");
		art.dialog({
			id:"delete",
			title:"确认标记",
			content:"您确认要标记为已处理吗?",
			lock:true,
			ok:function(){
				location.href=url;
			},
			icon:"question",
			cancel:true
		});
		return false;
	});
});
</script>
{include "Public/footer"}